package soundsystem;

import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.EnableAspectJAutoProxy;


/**
 * author: xl
 * time: 2018/5/7 10:08
 * description:
 **/
@Configurable
@EnableAspectJAutoProxy
@ComponentScan(basePackages ={"soundsystem","sia"} )
public class TrackCountConfig {


    @Bean
    public CompactDisc compactDisc(){
        SgtPeppers sgtPeppers = new SgtPeppers();

        return sgtPeppers;
    }


    @Bean
    public TrackCounter trackCounter(){
        return new TrackCounter();
    }


}
